package cn.wellcare.freemarker;

import java.util.List;

import org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer;

import freemarker.cache.TemplateLoader;

public class CustomFreeMarkerConfigurer extends FreeMarkerConfigurer {

	@Override
	protected TemplateLoader getAggregateTemplateLoader(List<TemplateLoader> templateLoaders) {

		return new EscapeHtmlTemplateLoader(super.getAggregateTemplateLoader(templateLoaders));

	}

}
